package share.storage.io.exchange;

import java.io.IOException;

import share.storage.io.DownloadType;
import share.storage.io.FileReader;

public class ExFileReader implements FileReader {

	String location = null;
	ExFileReader(String location){
		this.location=location;
	}
	public void seek(long pos) throws IOException {
		//do nothing
	}

	public long tell() throws IOException {
		//do nothing
		return 0;
	}

	public int read(byte[] bytes) throws IOException {
		//do nothing
		return 0;
	}

	public int read(byte[] bytes, int off, int len) throws IOException {
		//do nothing
		return 0;
	}

	public void close() {
		//do nothing
	}

	public DownloadType getDownloadType() {
		return DownloadType.JUMP;
	}

	public String getLocation() {
		return location;
	}

}
